LoRaWAN, as a wireless communication standard in Low Power Wide Area Network (LPWAN), provides the support for the development of IoT (Internet of Things). However, limited by the characteristics of incomplete orthogonality among Spreading Factor (SF) and the fact that LoRaWAN does not have a Listen-Before-Transmit (LBT) mechanism, the ALOHA-based transmission scheduling method will trigger serious channel conflicts, which reduces the scalability of LoRa (Long Range Radio) networks greatly. Therefore, in order to improve the scalability of LoRa network, Non-Persistent Carrier Sense Multiple Access (NP-CSMA) mechanism was proposed to replace the medium access control mechanism of ALOHA in LoRaWAN. The time of accessing the channel for each node with the same SF in LoRa network was coordinated by LBT, and multiple SF signals were transmitted in parallel for the transmission between different SFs, thus reducing the interference of same SF and avoiding inter-SF interference in the common channel. To analyze the impact of NP-CSMA on the scalability of LoRa networks, LoRa networks constructed by Lo RaWAN and NP-CSMA were compared by theoretical analysis and NS3 simulation. Experimental results show that NP-CSMA has 58.09% higher theoretical Packet Delivery Rate (PDR) performance than LoRaWAN under the same conditions, at a network communication load rate of 1. In terms of channel utilization, NP-CSMA increases the saturated channel utilization by 214.9% and accommodates 60.0% more nodes compared to LoRaWAN. In addition, the average latency of NP-CSMA is also shorter than that of the confirmed LoRaWAN at a network traffic load rate of less than 1.7, and the additional energy consumption to maintain the CAD (Channel Activity Detection) mode is 1.0 mJ to 1.3 mJ and 2.5 mJ to 5.1 mJ lower than the additional energy consumption required by LoRaWAN to receive confirmation messages from the gateway when spreading factor is 7 and 10. The above fully reflects that NP-CSMA can improve LoRa network scalability effectively.
To measure the pitch of twisted-pair wires, a kind of image detection framework was put forward. With image segmentation, image restoration, image thinning, curve fitting and scale setting, the pitch of twisted-pair wires was calculated in real time. In combination with this framework, to deal with the problem that the traditional two-dimensional maximum between-cluster variance algorithm (Otsu) runs too slow, a new fast algorithm based on regional diagonal points was proposed. With redefining two-dimensional histogram area, using the quick lookup table and recursion method, it reduced running time drastically. To solve the problem of image missing, an edge detection algorithm was adopted. After repairing, the image thinning operation was acted on the image. The least square method was used to fit the single pixel point of thinning image, then fitting curve was acquired. It could acquire the pitch of twisted-pair wires in the image by calculating the distance between the fitting curve intersections. Finally the distance in image was converted to an observed value by the scale. The experimental results show that the segmentation time of fast algorithm is about 0.22% of traditional algorithm. And two segmentation results of algorithms are identical. With the pitch from the image detection method comparing with its real value, results show that the absolute errors between both of them are 0.48%. Through the image detection method, the pitch is measured accurately and the efficiency of twisted-pair pitch measurement is improved.
A novel algorithm for mining user navigation pattern with incremental clustering was presented. Firstly, a new method for expressing user interest was introduced to construct user profile object. Based on the basic concept of ant colony clustering, artificial ants were used to pick up or drop down object to implement clustering by analyzing the similarity with other local regional objects and. Then a mechanism of decomposing clusters was used to form new clusters when users'interests changed. Experimental results show that the method can adaptively and efficiently achieve incremental clustering.